package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
    * 平台消息已读表
    */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "blade_maintain_msg_read")
public class MaintainMsgRead extends TenantEntity {
    /**
     * 消息id
     */
    @TableField(value = "msg_id")
    private Long msgId;

    /**
     * 接收人id
     */
    @TableField(value = "user_id")
    private Long userId;

	/**
	 * 消息类型：0-系统消息(默认)，1-通知公告
	 */
	private Integer type;
}
